package com.we.risk.phoneRecord.stage2.adm;

import java.util.HashSet;

public class PhoneCallLabel {
    public int cnt;
    public HashSet<String> numSet;
    public HashSet<String> provSet;
    public HashSet<String> citySet;
    public long duration;

    public PhoneCallLabel() {
        numSet = new HashSet<>();
        provSet = new HashSet<>();
        citySet = new HashSet<>();
    }

    public int getNumbers() {
        return numSet.size();
    }

    public void addCallNumber(String number) {
        if (number != null) {
            numSet.add(number);
        }
    }

    public int getProvs() {
        return provSet.size();
    }

    public int getCities() {
        return citySet.size();
    }
}
